import java.awt.image.BufferedImage;

public class Wolf extends TotalObject{
    int level;

    public Wolf(int x, int y, int width, int height, int life,int speed) {

        super(x, y, width, height, life, speed);
        isdroping = true;
        isenter = false;
    }

    @Override
    public void reducelife() {
        life--;
    }

    @Override
    public BufferedImage getImage() {
        return null;
    }

    public  void step(Sheep sheep) {
        if (sheep.x<x-60){
            x-=speed;
            movedirection = TotalObject.LEFT;
        }

        else if (sheep.x>x+60) {
            x+=speed;
            movedirection = TotalObject.RIGHT;
        }
    }
}
